<template>
	<view class="box">
		<u-collapse :accordion="true" :border="false" value="name" @open="open()">
			<u-collapse-item title="星益付" :isLink="false" :clickable="false" v-for="(item,index) in 5" :key="index"
				name="name" class="policy_box">
				<view class="info_list" v-for="list in 3" :key="list">
					<view class="info_item">
						<view class="">
							<text>政策</text>
						</view>
						<view class="operating">
							<view class="fize" style="background-color: #3c9cff;" @click="info()">设置</view>
						</view>
					</view>
				</view>
			</u-collapse-item>
		</u-collapse>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			info() {
				uni.navigateTo({
					url: '/pages/version5/index/SetPolicy/Info?title=政策名字'
				})
			},
			open() {

			},
		}
	}
</script>

<style lang="scss" scoped>
	.box {
		padding: 30rpx;
		box-sizing: border-box;
	}

	.policy_box {
		margin-top: 20rpx;
		border: 1px #eeeeee solid;
		font-weight: 600;
	}


	.info_list:nth-child(1) {
		border-top: #eeeeee 1px solid;
	}

	.info_list {

		box-sizing: border-box;
		// margin-top: -10rpx;

		.info_item {
			margin-top: 20rpx;
			font-size: 28rpx;
			display: flex;
			justify-content: space-between;
			align-items: center;

			.operating {
				display: flex;
				justify-content: space-between;

				.fize {
					color: #fff;
					padding: 10rpx 30rpx;
					border-radius: 15rpx;
				}
			}
		}
	}
</style>